package com.hrm.dao;

import java.util.HashSet;
import java.util.List;

import com.hrm.domain.EmpExt;
import com.hrm.domain.Employee;

/*
 * 员工数据处理层接口
 */
public interface EmployeeDao {

	public List<Employee> getEmpsByDeptID(int deptID);

	public Integer modifyEmpDeptByID(int deptID, int ID);

	public List<Employee> getEmpsByJobID(int jobID);

	public Integer modifyEmpJobByID(int deptID, int ID);

	public Integer getCount(HashSet<Integer> flag, Object... parametes);

	public List<EmpExt> getEmpExtsByTerm(HashSet<Integer> flag, Object... parametes);

	public Integer addEmp(Employee emp);

	public Employee getEmpByEN(String empName);

	public Employee getEmpByID(int ID);

	public Employee getEmpByCard(String card);

	public Integer delEmp(int ID);

	public Integer modifyEmpByID(Employee newEmp, int ID);

}
